import request from '@/utils/request';

/**
 * 登录api接口集合
 * @method signIn 用户登录
 * @method signOut 用户退出登录
 */
const userLoginApi = {};

userLoginApi.signIn = (params) => {
	return request({
		url: '/auth-api/auth/cloud-login',
		method: 'post',
		data: params,
	})
}
userLoginApi.verifyCode = () => {
	return request({
		url: '/auth-api/auth/verify-code',
		method: 'get',
	})
}

export default userLoginApi
